package com.nowcoder.community.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Message {

    private int id;

    private int fromId;//发送用户id

    private int toId;//接收用户id

    private String conversationId;//会话id，用户id小的在前，用户id大的在后

    private String content;

    private int status;//0-未读;1-已读;2-删除;

    private Date createTime;
}
